package com.css.fxfzaqbz.modules.data.repository;

import com.css.fxfzaqbz.modules.data.entity.ActiveFaultData;
import com.css.fxfzaqbz.modules.data.entity.DisposeManager;
import com.css.fxfzaqbz.modules.data.queryParams.DisposeManagerQueryParams;
import org.springframework.data.domain.Page;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

public interface DisposeManagerRepository {

    void saveDisposeManager(DisposeManager disposeManager);

    DisposeManager getDisposeManager(String id);

    void delDisposeManager(List<String> ids, Timestamp timestamp,String userId);

    DisposeManager updateDisposeManager(DisposeManager disposeManager);

    Map<String,Object> getAllDisposeManagerParams(DisposeManagerQueryParams queryParams);

//    List<DisposeManager> getDisposeManagerByIaId(String id);

    void updateSubmitButton(List<String> ids, String userName, String mobilePhone, Timestamp currentTimestamp);
    Map<String, Object> getDisposeManagerByIaId(String id,int curPage, int pageSize);

    List<DisposeManager> getCzByIaId(String iaId);

    List<DisposeManager> getQcCzByIaId(String iaId);

    List<DisposeManager> getCzByType(String lx, String iaId);

    List<DisposeManager> getAnalysisByFatherLabel(String dmLabel, String iaId,String type);
}
